import request from '@/utils/request';

// 下方列表
export const executePrescriptionList = params => request({
    url: '/business/executePrescription/list',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方详情
export const executePrescriptionDetail = params => request({
    url: '/business/executePrescription/get',
    method: 'GET',
    params
});
// 下方确认
export const executePrescriptionConfirm = params => request({
    url: '/business/executePrescription/confirm',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方
export const executePrescriptionExecute = params => request({
    url: '/business/executePrescription/execute',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方关闭
export const executePrescriptionClose = params => request({
    url: '/business/executePrescription/close',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方退回
export const executePrescriptionBack = params => request({
    url: '/business/executePrescription/back',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方加急
export const executePrescriptionUrgent = params => request({
    url: '/business/executePrescription/urgent',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方退单
export const executePrescriptionBackOrder = params => request({
    url: '/business/executePrescription/backOrder',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方审核
export const executePrescriptionExamine = params => request({
    url: '/business/executePrescription/examine',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方调剂
export const executePrescriptionAdjuste = params => request({
    url: '/business/executePrescription/adjust',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方分配
export const executePrescriptionDistribution = params => request({
    url: '/business/executePrescription/distribution',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方收货
export const executePrescriptionReceiveByYard = params => request({
    url: '/business/executePrescription/receiveByYard',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 异常收货
export const executePrescriptionReceiveByException = params => request({
    url: '/business/executePrescription/receiveByException',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 确认收货收货
export const executePrescriptionReceiveByPatient = params => request({
    url: '/business//executePrescription/receiveByPatient',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 煎制入库
export const executePrescriptionMakeCheck = params => request({
    url: '/business/executePrescription/makeCheck',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方煎制
export const executePrescriptionMake = params => request({
    url: '/business/executePrescription/make',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方接收
export const executePrescriptionReceivee = params => request({
    url: '/business/executePrescription/receive',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方检验入库
export const executePrescriptionCheck = params => request({
    url: '/business/executePrescription/check',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 下方分拣
export const executePrescriptionSort = params => request({
    url: '/business/executePrescription/sort',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 修改地址
export const executePrescriptionUpdateAddress = params => request({
    url: '/business/executePrescription/updateAddress',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 发货
export const executePrescriptionSend = params => request({
    url: '/business/executePrescription/send',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 配送
export const executePrescriptionDelivery = params => request({
    url: '/business/executePrescription/delivery',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 领取
export const executePrescriptionFinish = params => request({
    url: '/business/executePrescription/finish',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 快递明显查询
export const expressList = params => request({
    url: '/business/express/list',
    method: 'POST',
    data: params
});
